package com.yunche.yunchebusiness.network

import okhttp3.MediaType
import okhttp3.RequestBody

/**
 * Create by Crcker on 2018/11/14 16:23
 * Email: Crcker@163.com
 */


class RequestJson {

    companion object {
        fun getRequestBody(json: String): RequestBody {
            return RequestBody.create(MediaType.parse("application/json; charset=utf-8"), json)
        }
    }
}